﻿using Android.Views;
using CarouselView.ViewModels;

namespace CarouselView
{
    public partial class MainPage : ContentPage
    {
        public MainPage(MainViewModel viewModel)
        {
            InitializeComponent();

            BindingContext = viewModel;

#if ANDROID
        MainActivity mainActivity = new MainActivity();
        mainActivity = (MainActivity)Platform.CurrentActivity;
        mainActivity.Window.AddFlags(WindowManagerFlags.Fullscreen);
#endif
        }

    }
}